//
//  KLGoodModel.m
//  KunLun
//
//  Created by Mac on 2017/12/14.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import "KLGoodModel.h"

@implementation KLGoodModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"goodID":@"id"};
}
- (NSString *)price{
    if (self.discount_price.length) {
        return self.discount_price;
    }
    return _price;
}
@end
